using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;

namespace Framework.UI
{
    public class UIText : UIBase
    {
        private TextMeshProUGUI mText;

        public string Text
        {
            get { return mText.text; }
            set { mText.text = value; }
        }

        protected override void OnAwake()
        {
            mText = GetComponent<TextMeshProUGUI>("TextContent");
        }
    }
}
